package employee;

import java.util.Date;

public class Employee {
    private int empno;  //员工编码
    private String ename;  //员工姓名
    private String job;  //岗位
    private String mgr;   //上级领导
    private Date hiredata;  //雇佣时间
    private double sal;  //工资
    private double ofee;   //加时费
    private int deptno;  //部门的编号
    private int user_id;

    public Employee() {
    }

    public Employee(int empno, String ename, String job, String mgr, Date hiredata, double sal, double ofee, int deptno, int user_id) {
        this.empno = empno;
        this.ename = ename;
        this.job = job;
        this.mgr = mgr;
        this.hiredata = hiredata;
        this.sal = sal;
        this.ofee = ofee;
        this.deptno = deptno;
        this.user_id = user_id;
    }

    public int getEmpno() {
        return empno;
    }

    public void setEmpno(int empno) {
        this.empno = empno;
    }

    public String getEname() {
        return ename;
    }

    public void setEname(String ename) {
        this.ename = ename;
    }

    public String getJob() {
        return job;
    }

    public void setJob(String job) {
        this.job = job;
    }

    public String getMgr() {
        return mgr;
    }

    public void setMgr(String mgr) {
        this.mgr = mgr;
    }

    public Date getHiredata() {
        return hiredata;
    }

    public void setHiredata(Date hiredata) {
        this.hiredata = hiredata;
    }

    public double getSal() {
        return sal;
    }

    public void setSal(double sal) {
        this.sal = sal;
    }

    public double getOfee() {
        return ofee;
    }

    public void setOfee(double ofee) {
        this.ofee = ofee;
    }

    public int getDeptno() {
        return deptno;
    }

    public void setDeptno(int deptno) {
        this.deptno = deptno;
    }

    public int getUser_id() {
        return user_id;
    }

    public void setUser_id(int user_id) {
        this.user_id = user_id;
    }
}
